Optimal. Leaf size=43 \[ -\frac {2 a \log \left (a+b \sqrt {\sinh (c+d x)}\right )}{b^2 d}+\frac {2 \sqrt {\sinh (c+d x)}}{b d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {3302, 196, 45}
\begin {gather*} \frac {2 \sqrt {\sinh (c+d x)}}{b d}-\frac {2 a \log \left (a+b \sqrt {\sinh (c+d x)}\right )}{b^2 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 196
Rule 3302
Rubi steps
\begin {align*} \int \frac {\cosh (c+d x)}{a+b \sqrt {\sinh (c+d x)}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{a+b \sqrt {x}} \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac {2 \text {Subst}\left (\int \frac {x}{a+b x} \, dx,x,\sqrt {\sinh (c+d x)}\right )}{d}\\ &=\frac {2 \text {Subst}\left (\int \left (\frac {1}{b}-\frac {a}{b (a+b x)}\right ) \, dx,x,\sqrt {\sinh (c+d x)}\right )}{d}\\ &=-\frac {2 a \log \left (a+b \sqrt {\sinh (c+d x)}\right )}{b^2 d}+\frac {2 \sqrt {\sinh (c+d x)}}{b d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 41, normalized size = 0.95 \begin {gather*} \frac {2 \left (-\frac {a \log \left (a+b \sqrt {\sinh (c+d x)}\right )}{b^2}+\frac {\sqrt {\sinh (c+d x)}}{b}\right )}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(79\) vs.
\(2(39)=78\).
time = 1.00, size = 80, normalized size = 1.86
method | result | size |
derivativedivides | \(\frac {\frac {2 \left (\sqrt {\sinh }\left (d x +c \right )\right )}{b}+\frac {a \ln \left (-b \left (\sqrt {\sinh }\left (d x +c \right )\right )+a \right )}{b^{2}}-\frac {a \ln \left (a +b \left (\sqrt {\sinh }\left (d x +c \right )\right )\right )}{b^{2}}-\frac {a \ln \left (b^{2} \sinh \left (d x +c \right )-a^{2}\right )}{b^{2}}}{d}\) | \(80\) |
default | \(\frac {\frac {2 \left (\sqrt {\sinh }\left (d x +c \right )\right )}{b}+\frac {a \ln \left (-b \left (\sqrt {\sinh }\left (d x +c \right )\right )+a \right )}{b^{2}}-\frac {a \ln \left (a +b \left (\sqrt {\sinh }\left (d x +c \right )\right )\right )}{b^{2}}-\frac {a \ln \left (b^{2} \sinh \left (d x +c \right )-a^{2}\right )}{b^{2}}}{d}\) | \(80\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 225 vs.
\(2 (39) = 78\).
time = 0.86, size = 225, normalized size = 5.23 \begin {gather*} \frac {a d x + a \log \left (\frac {b^{2} \cosh \left (d x + c\right )^{2} + b^{2} \sinh \left (d x + c\right )^{2} + 2 \, a^{2} \cosh \left (d x + c\right ) - b^{2} + 2 \, {\left (b^{2} \cosh \left (d x + c\right ) + a^{2}\right )} \sinh \left (d x + c\right ) - 4 \, {\left (a b \cosh \left (d x + c\right ) + a b \sinh \left (d x + c\right )\right )} \sqrt {\sinh \left (d x + c\right )}}{b^{2} \cosh \left (d x + c\right )^{2} + b^{2} \sinh \left (d x + c\right )^{2} - 2 \, a^{2} \cosh \left (d x + c\right ) - b^{2} + 2 \, {\left (b^{2} \cosh \left (d x + c\right ) - a^{2}\right )} \sinh \left (d x + c\right )}\right ) - a \log \left (\frac {2 \, {\left (b^{2} \sinh \left (d x + c\right ) - a^{2}\right )}}{\cosh \left (d x + c\right ) - \sinh \left (d x + c\right )}\right ) + 2 \, b \sqrt {\sinh \left (d x + c\right )}}{b^{2} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.11, size = 68, normalized size = 1.58 \begin {gather*} \begin {cases} \frac {x \cosh {\left (c \right )}}{a} & \text {for}\: b = 0 \wedge d = 0 \\\frac {\sinh {\left (c + d x \right )}}{a d} & \text {for}\: b = 0 \\\frac {x \cosh {\left (c \right )}}{a + b \sqrt {\sinh {\left (c \right )}}} & \text {for}\: d = 0 \\- \frac {2 a \log {\left (\frac {a}{b} + \sqrt {\sinh {\left (c + d x \right )}} \right )}}{b^{2} d} + \frac {2 \sqrt {\sinh {\left (c + d x \right )}}}{b d} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.01, size = 39, normalized size = 0.91 \begin {gather*} \frac {2\,\sqrt {\mathrm {sinh}\left (c+d\,x\right )}}{b\,d}-\frac {2\,a\,\ln \left (a+b\,\sqrt {\mathrm {sinh}\left (c+d\,x\right )}\right )}{b^2\,d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________